package com.test.dt0;

/**
 * Created by apple on 2017/5/12.
 */
public class ShowException extends RuntimeException {
    private int code;

    public ShowException(ShowEnum showEnum) {
        super(showEnum.getMsg());
        this.code = showEnum.getCode();
    }

    public int getCode() {
        return code;
    }
}
